//
//  SYExceptionRreport.m
//  minidai
//
//  Created by Steven.Yung on 2017/6/2.
//  Copyright © 2017年 迷你金服. All rights reserved.
//

#import "SYExceptionRreport.h"

@implementation SYExceptionRreport

+ (void)reportWithError:(NSError *)error keys:(NSString *)key value:(NSString *)val {
    [Bugly reportError:error];
    if (!val || val.length <= 0) {
        val = @"error";
    }
    [Bugly setUserValue:val forKey:key];
}

@end
